from fastapi import Request
from fastapi import APIRouter, UploadFile, File
from fastapi.responses import JSONResponse

from core.response import create_response

test_router = APIRouter()


@test_router.post("/")
async def index(request: Request):
    # return {"message": "Hello World"}
    return JSONResponse(content={"message": "Hello World"})
    # return create_response(data="hello world")
